/// The available formats are `mp4`, `mkv`,
/// `mov`, `flv`, `avi`, `wmv`& `gif`.




class FileLayout {
  const FileLayout._(this.index);

  final int index;

  static const FileLayout mp4 = FileLayout._(0);
  static const FileLayout mkv = FileLayout._(1);
  static const FileLayout mov = FileLayout._(2);
  static const FileLayout flv = FileLayout._(3);
  static const FileLayout avi = FileLayout._(4);
  static const FileLayout wmv = FileLayout._(5);
  static const FileLayout gif = FileLayout._(6);

  static const List<FileLayout> valuesTypeList = <FileLayout>[
    mp4,
    mkv,
    mov,
    flv,
    avi,
    wmv,
    gif,
  ];

  @override
  String toString() {
    return const <int, String>{
      0: '.mp4',
      1: '.mkv',
      2: '.mov',
      3: '.flv',
      4: '.avi',
      5: '.wmv',
      6: '.gif',
    }[index]!;
  }
}
